package com.tamecode.chapter06.sec45;

import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 测试 Bean 数据引用
 * @Author: Qiongchao
 * @Version: 1.0.0
 * @Date: 2023/9/26
 */
@ToString
@Component
public class ApplicationManager2 {

    @Value("#{sysConfig.sessionTimeout}")
    private int sessionTimeout;

    @Value("#{sysConfig.maxTabPageNum}")
    private int maxTabPageNum;


}
